package auto.app.dao;

import auto.app.controller.info.InterfaceInfo;
import auto.app.model.Interface;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 杨森
 * @since 2022-07-09
 */
public interface InterfaceDao extends BaseMapper<Interface> {

    public Page<InterfaceInfo> listAll(Page<InterfaceInfo> interfaceInfoPage, @Param(Constants.WRAPPER) Wrapper<InterfaceInfo> lambdaQueryWrapper);

    public List<InterfaceInfo> listAllExcel();

}
